package com.example.springboot.mapper;

import com.example.springboot.pojo.Fruit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FruitMapper {
    
    List<Fruit> list();
    
    Integer add(Fruit fruit);
    Integer delete(@Param("fruitId")Long fruitId);
    Integer update(Fruit fruit);
    
    Fruit selectById(@Param("id")Long id);
}
